from django.shortcuts import render
from django.http import HttpResponse
from .models import Note

# Create your views here.

def index(request):
	return render(request, 'note/index.html')

def look(request):
	note = Note.objects.get(id=1)
	# note = Note.objects.all()[0]
	return render(request, 'note/look.html', context={'note': note})